<%@ page language="java" import="java.util.*,com.entity.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"  prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
 <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">

  <head>
   	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="js/sorttable.js"></script>
<script src="js/main.js"></script>
<script src="js/qy.js"></script>
  </head>
   
  <body>
<div style="display: none;" id="PageHeader" class="PageHeader"></div>
<input type="submit" name="button" id="button" value="导出统计表" onClick="location='kpdjtj.do?export=1&sname=${sname }&xian=${xian }&xiang=${xiang }&cun=${cun }&nf=${nf }&sxbn=${sxbn }&rysx=${rysx }&kpjg=${kpjg }'" />
<table class="TableTop" width="100%">
  <tbody><tr>
      <td class="left"></td>
      <td class="center subject"><font style="font-weight: bolder;font-size:14px">${bm } ${rysx }</font> 考评登记统计 <span style="padding-left: 30px;">共${fn:length(list)}条</span></td>
      <td class="right"></td>
   </tr>
</tbody></table>
<pg:pager url="kpdjtj.do" index="half-full" maxPageItems="10"
			maxIndexPages="5" isOffset="<%=false%>"
			export="pageOffset,currentPageNumber=pageNumber" scope="request">
  <pg:param name="bmbh" value="${bmbh}" />
  <pg:param name="nf" value="${nf}" />
  <pg:param name="sxbn" value="${sxbn}" />
  <pg:param name="kpjg" value="${kpjg}" />
   <pg:param name="rysx" value="${rysx}" />
   
   <pg:param name="xian" value="${xian}" />
  <pg:param name="xiang" value="${xiang}" />
   <pg:param name="cun" value="${cun}" />
   <pg:param name="sname" value="${sname}" />
   
   
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="sortable TableBlock no-top-border">
<thead>
  <tr class="title_text">
    <td align="center"  class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  1, true);">村名</td>
    <td align="center"  class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  2, true);">姓名</td>
    <td align="center" class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  2, true);">考评结果</td>
    <td align="center" class="TableData">备注</td>
    </tr>
  
  </thead>
  <TBODY >
  <c:forEach var="rykp" items="${list}">
  <pg:item>
  <tr>
    <td align="center" class="TableData">${rykp.ryzl.zdByBmbh.zdqc}</td>
    <td align="center" class="TableData">${rykp.ryzl.xm}</td>
    <td align="center" class="TableData">${rykp.kpjg}</td>
    <td align="center" class="TableData">${rykp.bz}</td>
    </tr>
     </pg:item>
  </c:forEach>
  </TBODY>
</table>
<pg:index>
				<center>
					<table border=0 cellpadding="5" cellspacing=0" style="font-size: 12px">
						<tr align="center" valign="top">
							<td valign="bottom"><br /></td>
							<pg:prev ifnull="true">
								<%if (pageUrl != null) {%>
                                <td align=right>
                                   
									<A HREF="<%=pageUrl%>&pageNo=<%=pageNumber%>">上一页<br />
									</A>
								</td>
								<%} else {%>
								<td>
									上一页
								</td>
								<%}%>
							</pg:prev>
							<pg:pages>
								<%if (pageNumber == currentPageNumber) {%>
								<td>
									<font color=#A90A08><%=pageNumber%></font>
								</td>
								<%} else {%>
								<td>
									<A HREF="<%=pageUrl%>&pageNo=<%=pageNumber%>"> <%=pageNumber%></A>
								</td>
								<%}%>
							</pg:pages>
							<pg:next ifnull="true">
								<%if (pageUrl!= null) {%>
								<td>
									<A HREF="<%=pageUrl%>&pageNo=<%=pageNumber%>">下一页<br /></A>
								</td>
								<%} else {%>
								<td>
									下一页
								</td>
								<%}%>
							</pg:next>
						</tr>
					</table>
				</center>
			</pg:index>

		</pg:pager>
<c:if test="${fn:length(list)==0}">
无数据
</c:if>
  
  </body>
</html>